const test = require('../data/test')
const homePage = require('../data/home_page')
const mePage = require('../data/me_page')

function responseData(data) {
    return {
        code: 0,
        msg: '请求成功',
        data
    }
}

module.exports = () => {
    return {
        testjson: test(),
        home_page: responseData(homePage()),
        me_page: responseData(mePage())
    }
}